//
//  SortCollectionViewCell.m
//  MountEverestFM
//
//  Created by dllo on 15/10/29.
//  Copyright © 2015年 chenn. All rights reserved.
//

#import "SortCollectionViewCell.h"

@implementation SortCollectionViewCell
-(instancetype)initWithFrame:(CGRect)frame
{
    self=[super initWithFrame:frame];
    if (self) {
        self.lable=[[UILabel alloc]init];
        [self.contentView addSubview:self.lable];
        
        self.imageView=[[UIImageView alloc]init];
        [self.contentView addSubview:self.imageView];
        
        
    }
    return self;
}

-(void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{

    self.imageView.frame=CGRectMake(FM_Screen_Pts_Width*20,FM_Screen_Pts_Height*10,self.contentView.bounds.size.height-FM_Screen_Pts_Height*10, self.contentView.bounds.size.height-FM_Screen_Pts_Height*15);
    
    self.lable.frame=CGRectMake(FM_Screen_Pts_Width*20+self.contentView.bounds.size.height,FM_Screen_Pts_Height*10,self.contentView.bounds.size.height+FM_Screen_Pts_Width*70, self.contentView.bounds.size.height-FM_Screen_Pts_Height*15);
    
}



@end
